package com.mindbook.vip.gawxchatinfo.service.impl.nostrum;

import com.mindbook.vip.gawxchatinfo.entity.nostrum.NostrumType;
import com.mindbook.vip.gawxchatinfo.mapper.nostrum.NostrumTypeMapper;
import com.mindbook.vip.gawxchatinfo.service.nostrum.NostrumTypeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @NAME: wxb
 * @DATE: 2022/6/19
 * @DESCRIPTION:
 **/
@Service
public class NostrumTypeServiceImpl implements NostrumTypeService {

    @Autowired private NostrumTypeMapper nostrumTypeMapper;

    @Override
    public Integer removeByPrimaryKey(Integer id) {
        return nostrumTypeMapper.deleteByPrimaryKey(id);
    }

    @Override
    public Integer add(NostrumType nostrumType) {
        return null;
    }

    @Override
    public Integer put(NostrumType nostrumType) {
        return nostrumTypeMapper.updateByPrimaryKeySelective(nostrumType);
    }

    @Override
    public Integer addSelective(NostrumType nostrumType) {
        return null;
    }

    @Override
    public NostrumType findByPrimaryKey(Integer id) {
        return null;
    }

    @Override
    public Integer saveByPrimaryKeySelective(NostrumType nostrumType) {
        return nostrumTypeMapper.insertSelective(nostrumType);
    }

    @Override
    public Integer saveByPrimaryKey(NostrumType nostrumType) {
        return null;
    }

    @Override
    public List<NostrumType> findAll() {
        return null;
    }

    @Override
    public List getTreeList() {
        return nostrumTypeMapper.findTreeList();
    }


}
